package com.mls.fivedistrict.dao;

import com.mls.fivedistrict.pojo.TaskCategory;
import com.mls.fivedistrict.pojo.TaskCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TaskCategoryMapper {
    long countByExample(TaskCategoryExample example);

    int deleteByExample(TaskCategoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskCategory record);

    int insertSelective(TaskCategory record);

    List<TaskCategory> selectByExample(TaskCategoryExample example);

    TaskCategory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TaskCategory record, @Param("example") TaskCategoryExample example);

    int updateByExample(@Param("record") TaskCategory record, @Param("example") TaskCategoryExample example);

    int updateByPrimaryKeySelective(TaskCategory record);

    int updateByPrimaryKey(TaskCategory record);
}